<?php
$this->doctype('XHTML1_STRICT');
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=UTF-8');
$this->headMeta()->appendName('description', 'layout ZF');
$this->headTitle()->setSeparator(' - ');
$this->headTitle('BackOffice GSB');
?> 
<?php echo $this->doctype(); ?> 
<!DOCTYPE html>
<head> 
    <?php echo $this->headMeta(); ?> 
    <?php echo $this->headTitle(); ?> 
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">


</head> 
<body>
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="<?php echo $this->url(array('controller' => 'visiteur', 'action' => 'lister')); ?>">Zend GSB Back Office</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">


                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Visiteurs <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo $this->url(array('controller' => 'visiteur', 'action' => 'lister')); ?>">Lister</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->url(array('controller' => 'visiteur', 'action' => 'index')); ?>">Gérer</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->url(array('controller' => 'visiteur', 'action' => 'ajouter')); ?>">Ajouter un Visiteur</a></li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Statistiques <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo $this->url(array('controller' => 'stats', 'action' => 'cumulvisiteur')); ?>">Cumul visiteur</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->url(array('controller' => 'stats', 'action' => 'cumulfrais')); ?>">Cumul frais</a></li>

                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Frais<b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo $this->url(array('controller' => 'frais', 'action' => 'index')); ?>">Afficher</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->url(array('controller' => 'frais', 'action' => 'gerer')); ?>">Gérer</a></li>
                            

                        </ul>
                    </li>
                </ul>

                <ul class="nav navbar-nav navbar-right">
                    <li><?php if (Zend_Auth::getInstance()->hasIdentity()) { ?>
                        <li><a href="<?php echo $this->url(array('controller' => 'authentication', 'action' => 'logout')); ?>">Déconnexion</a></li>
                    <?php } else {
                        ?>
                        <li><a href="<?php echo $this->url(array('controller' => 'authentication', 'action' => 'login')); ?>">Connexion</a></li>
                    <?php } ?></a></li>

                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>
    <?php echo $this->layout()->content; ?> 








































</body> 
</html>
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>

